package seotools.positions;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.Properties;

/**
 * Created by IntelliJ IDEA.
 * User: vladimir
 * Date: 26.07.11
 * Time: 11:02
 * To change this template use File | Settings | File Templates.
 */
public class Test {
    public static final String DELIMETER = ";";

    public static void main(String[] args) throws IOException {
        Properties props = new Properties();
        props.load(new FileReader("goods.properties"));
        System.out.printf(String.valueOf(props.get("header")), DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER);
//        System.out.printf(String.valueOf(props.get("accum")), DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER);
        System.out.printf(String.valueOf(props.get("accum.nokia")), DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER, DELIMETER);
    }
}
